import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 获取固定收益类数据
  getFixedIncomeData: (query) => api.get(`${config.interfaces.type5}maat-workstation/userView/userPortsholdStatistics`, query),
  // 获取权益类数据
  getEquityData: (query) => api.get(`${config.interfaces.type5}maat-workstation/userView/equityProducts`, query),
  // 获取商品及衍生品类数据
  getCommoditiesData: (query) => api.get(`${config.interfaces.type5}maat-workstation/userView/userPortsMonitor`, query),
};
